-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove unnecessarily duplication since types collapsed #40867
remove unnecessarily duplication since types collapsed #40867
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED The following people have approved this PR: deads2k Needs approval from an approver in each of these OWNERS Files: We suggest the following people: |
@@ -413,27 +417,6 @@ func run(s *options.KubeletServer, kubeDeps *kubelet.KubeletDeps) (err error) { | |||
} | |||
} | |||
|
|||
// client-go and kuberenetes generated clients are incompatible because the runtime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -396,6 +396,10 @@ func run(s *options.KubeletServer, kubeDeps *kubelet.KubeletDeps) (err error) { | |||
if err != nil { | |||
glog.Warningf("New kubeClient from clientConfig error: %v", err) | |||
} | |||
externalKubeClient, err = clientgoclientset.NewForConfig(clientConfig) | |||
if err != nil { | |||
glog.Warningf("New kubeClient from clientConfig error: %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really something the admin will understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really something the admin will understand.
Prexisting from the original
Looks good. Only the warning text is not good. |
/release-note-none |
approved based on #40363 |
Automatic merge from submit-queue (batch tested with PRs 35782, 35831, 39279, 40853, 40867) |
We collapsed duplicate types into client-go, so we get to clean this up.
@sttts as promised.